package com.xmg.boot.demo.bootcommon.utils.page;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author: ma
 * @date: 2023-12-04
 * @since: 统一分页查询条件
 */
@Data
public class PagingOptions implements Serializable {
    @ApiModelProperty("当前页数")
    private Integer pageIndex;
    @ApiModelProperty("每页条数")
    private Integer pageSize;
    @ApiModelProperty("查询条件")
    private List<PagingFilter> filters;
    @ApiModelProperty("排序条件")
    private List<PagingSort> sorts;
}
